Variable Config.maxDiscarded

stop test after maxDiscarded

struct Config
{
  // ...
  ulong maxDiscarded = 100LU;
  // ...
}