fix a bug when process was killed because of time limit without message