added a sleep before checking status