update my thinking about this
prevent crash when too many files are opened
avoid an infinite recursion error when lots of processes are getting destroyed at the same time