use timer for halt and shutdown so web page response shown