Make sure sessions close