fix ShutdownThread.java