Close socket before returning reply