Added sleep to the client loop to slow polling of the status
Removing some debugging printing