fixing connection timeouts