Return error from socket Close()s