remove import
some more error handling
purge tasks only on hub
delete job only when all tasks can be deleted
add error handling