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