Async sleep library. First full commit.