Now sleep works cross platform.