Fix race condition in testing
Fix race condition in testing

If the git timeout test is run on a machine which can run many threads,
the TCP server finishes the call to `handle` and resets the connection
before the timeout has occurred, and the test fails.

jpgr87/vcstools