Fix test_socket when built whithout threads.
1 file changed