be nice and read the response

then close the socket.

Signed-off-by: Sven Nierlein <sven@nierlein.de>