-adding sleep between rest server status check as we were being denied
-adding logging messages