session close problems