Apply patch for https://issues.apache.org/jira/browse/AMQ-3185 Confirmed the current code allows for two calls to stop before the disposed flag is triggered.