fix a jvm not exit