[runtime] In local mode, make sure taskmanagers have completed registration before starting a job.