send the response and then exit