thread_safe task manager. reated just for fun and practice.