/** * Cleans up after sessions, to prevent zombie sessions. This method is called periodically by * {@link SessionCleaner} thread. */ public void cleanupSessions() { for (long session : mSessions.getTimedOutSessions()) { mSessions.removeSession(session); mBlockStore.cleanupSession(session); } }