typecasting fix; pushing task_queue whenever tasks communicate