[v2] nbd:fix memory leak in nbd_get_socket()