Try explicitly opening and closing session