[JENKINS-13349] Reset the timer only when line break is output.