Flush old sessions before creating a new one