Fix tests according to modified sync.
Stop the target when exceptions occur.