@Override public void stop ( final BundleContext context ) throws Exception { this.masterFactoryHandle.unregister (); this.masterFactory.dispose (); this.slaveFactoryHandle.unregister (); this.slaveFactory.dispose (); this.processor.dispose (); this.executor.shutdown (); this.nioExecutor.shutdown (); }