do not use multiprocessing in runner/sync mode.

This refs #17701.

/cc @cachedout