Detect errors in poller and wait 20s before trying to reconnect.