Wire in request_finished event for proper cleanup.