handle interrupted sleep consistently
remove extra newline