Sleep when displaying ending message