cleaning up task and worker modules