Cast the sleep time to int