UPD adding code to not send response twice if ClientError thrown from after response event
UPD adding test for Response::send only getting called once when server error thrown in after response sent
UPD adding code to prevent response from being sent twice