Allow for interrupting and recovering sync (#5571).
Add sync status signals (#5517).