Fixing timedout connections