rough-minister-58256
I experienced memory problems (objects were not garbage-collected) when using this recipe, but the one based on weakref worked better.