Fix for issue #138.

This should prevent any orphaned IdleOutTasks from being created.