move deallocation of topo0work to tick to avoid multi-threading issues