Update nbd-client.c

Fix potential socket leak in opennet()