Reduce the probability of refleaks in test_socketserver.