code: public void close()
     {
        rpcService.unregisterCommand(changeIndexMode);
        rpcService.unregisterCommand(getIndexList);
        rpcService.unregisterCommand(getCoordinatorAddress);
        rpcService.unregisterCommand(getIndexFile);
        rpcService.unregisterCommand(requestForResponsibleToSetIndexOnline);
        rpcService.unregisterCommand(checkIndexReady);
  
        rpcService.unregisterTopologyChangeListener(this);
     }
docs: {@inheritDoc}