fix server quit while hibernating