It doesn’t but I’m sure you could write a little sidecar program or make a fork and add a bit for garbage collection.