Add session.close() method