public void finishSession(long sessionId) {
   synchronized (this) {
     tracker.complete(sessionId);
     Intents.triggerSync(applicationContext);
   }
   cleanup();
 }
 public void resetSession(long sessionId) {
   tracker.stopTracking();
   cleanup();
 }
 public void discardSession(long sessionId) {
   tracker.discard(sessionId);
   cleanup();
 }