}
this.transactions = null;
//call all the disconnectCallbacks
while(!this.disconnectCallbacks.isEmpty()) {
DisconnectCallback cb = this.disconnectCallbacks.poll();
cb.disconnected(this);
}
this.disconnectCallbacks = null;
this.channel = null;
this.connectionStorage.clear();
this.connectionStorage = null;