Fixed waiting for slave sync to start