[client_socket] socket test cleanup