Fixed: deadlock in TestClient that occurs often on FreeBSD.