moving startMachines to background thread to reduce latency, leaving stopMachines as is b/c it is fast enough.