Distributed engine: Define is_pachi_slave() and avoid busy loop if error