Added *done* to clean resources when all workers will finish