Commit before sleeping