Increase connection timeout

It may solve fragile test failures on Travis CI.