Resolves: spring-projects/spring-integration#2275 * Remove the `MqttPahoMessageDrivenChannelAdapter` as a callback from the `IMqttClient` during `stop()` * Check the `isRunning()` from the `connectionLost` callback to avoid unexpected `scheduleReconnect()` when we are not running **Cherry-pick to 4.3.x** Conflicts: spring-integration-mqtt/src/test/java/org/springframework/integration/mqtt/MqttAdapterTests.java Resolved.