Added sleep back into the poller run method