Currently `stopSync()` waits for an ongoing active sync to complete before clearing the interval. Implement a signal so that the actual sync operation can gracefully wind down.
Currently
stopSync()waits for an ongoing active sync to complete before clearing the interval.Implement a signal so that the actual sync operation can gracefully wind down.