correctly output trailing sleep time