clean pid hash map when nodes are gone