you should probably send the error after cancelling the request.