Fixed IllegalStateException in WARMUP_ROUNDS and some leaks