Fix sleep call.