Fix issue #235: Ignore SQLException during BaseSession.close()