Fixed bug in TasksMultiplexor