code: public void disconnect() {		
  		if(!isConnected){
  			if(this.isReconnecting){
  				stopReconnecting();
  				this.isConnecting = false;
  			} else {
  				raiseOrtcEvent(EventEnum.OnException,this, new OrtcNotConnectedException());
  			}
  		}else{
  			stopHeartBeatInterval();
  			if (appContext != null && !googleProjectId.isEmpty()
  					&& !isDisconnecting) {
                  if(this.intentService != null){
  				    this.intentService.removeServiceOrtcClient(this);
                  }
  				//this.appContext.unbindService(this.intentServiceConnection);
  			}
  			this.disconnectIntern();
  		}
  	}
docs: Closes the current connection