fixed failing to terminate workers on game restart