Cancel the Timer in the Environment.shutdown() so a Java main program exits cleanly.