If I unregister the replica with GeodatabaseSyncTask, then how do I delete the actual geodatabase file? The problem is that if I open the geodatabase, the file stays open until I open another geodatabase (even closing the application doesn't remove the lock).
There is no Close method for closing the geodatabase explicitly.