Fixed regression when ending tunnel request.