code: public void disconnect() {
  		if(!isConnected){
  			if(this.isReconnecting){
  				stopReconnecting();
  				this.isConnecting = false;
  			} else {
  				raiseOrtcEvent(EventEnum.OnException,this, new OrtcNotConnectedException());
  			}
  		}else{
  			stopHeartBeatInterval();
  			this.disconnectIntern();
  		}
  	}
docs: Closes the current connection