remove pids if topic deleted