make sure teh sessionfile is deleted on exit