removing debug testing from close()
adding adapterClose event emission
Adapter emits 'close' on disconnects