Allow to stop sync
Currently, it is not possible to stop a running sync. This is bad because if e.g. on Android one tries to close the app, that might hang due to the app still syncing while the foreground thread already tries to shut down.
Hence, it would be good to have a way to stop a running sync process.
Edited by Martin Hoeher