destroy session, if it closed itself