better logging of connections, log warnings every time there is an error/timeout on the connection