Remove task working directory when all refering tasks have been run. Fixes #10.