fix judge-client wrong result when user program normally exits.
put stop_timer() call in try-finally block.