when timeouts detected, handle them by either retrying to connect, or going offline related to issues #260 and #269 when done go to issue #271