Ensuring a response is never sent twice