Implement backend session flushing