code: def atlas_node_stop( atlas_state ):
      
      for component in atlas_state.keys():
          log.debug("Stopping Atlas component '%s'" % component)
          atlas_state[component].ask_join()
          atlas_state[component].join()
  
      return True
docs: Stop the atlas node threads