net_io_task: Fixed dispose in multi loop mode
Improved debug messages for tasks and renamed task_func to task_func_t.