Excplicitly close socket.