Readded current_tasks initialization.
Merge branch 'feature-threadsafe-tasks' into wakame-edge