Readded current_tasks initialization.