Make sure to close the connection after replying