fixed bug where we were expecting the max numjvms to be running at all times