Fix segfault when old task in queue after setup/update
Don't hold a reference to an old cfg structure.
Merge pull request #71 from yschaeff/segf

Fix segfault when old task in queue after setup/update