Motivation:
Users can write arbitrary code in their deinits, and that arbitrary code
_may_ end up hitting Objective-C autoreleases. We don't want to leak
those objects into the per-thread autoreleasepool, as that may not be
popped for a very long time, if ever, so we need to to ensure that
deiniting the task objects has an autoreleasepool.
Modifications:
Add an autoreleasepool around the task drop, and tests to validate that
we do things correctly.
Result:
Better memory management around deinit