Sleeping is done in milliseconds