src/librrdc.c: When sending an `update', wait for the reply before closing the socket.