Add timestamp print before sleeping