Fix console not staying open on minecraft crash