public boolean requestAfter(final AfterSyncRequest afterSyncRequest) {
            synchronized (requestRedoMutex) {
                if (taskIsDone || !doSync) {
                    return false;
                }
                Log.i("[MapThemeFolderSync] Requesting '" + afterSyncRequest + "' " + source + " -> " + target);
                cancelFlag.set(true);
                this.afterSyncRequest = afterSyncRequest;
                startTime = System.currentTimeMillis();
                return true;
            }
        }
Requests for a running task to redo sync after finished. May fail if task is already done, but in this case the task may safely be discarted
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/RenderThemeHelper.java