added socketKeepAlive=True, fixed problems with connections.