Add cleaning up procedure for check completetion of tasks and clean completed tasks;
Introduce completed statuses subtype