Remove process from tree if it's deleted