Fix race condition with scheduler starting before task list is populated

UCC git Repository :: git.ucc.asn.au