1Finalizers in Haskell cannot be safely realised without requiring support for concurrency [1].