Fix CAMEL-7680 : Throw NPE when stopping if transport client is used

Protecting an unassigned field when component is stopped