Replaces the 'sleep' functionality provided by commands/sleep. Change-Id: I8758bf027b26aaef7954848803d6da982c753bfa