correctly output trailing sleep time
Merge pull request #2457 from birarda/master

correctly output trailing sleep time