Made tasks list not thread local.