Move reactor master-clients to threads

Fix for #16564