Adding hook for closing a request