private void stopMapManager() {
    if (manager != null) {
      manager.stop();
      MinecraftForge.EVENT_BUS.unregister(manager);
      FMLCommonHandler.instance().bus().unregister(manager);
    }

    if (managerThread != null) {
      managerThread.interrupt();
    }

    managerThread = null;
    manager = null;
  }
 @Mod.EventHandler
 public void serverLoadFinish(FMLServerStartedEvent event) {
   manager.initialize();
 }