issue NXP-13252: improve oracle connection closed detection (fixing infinite recursive loop regression)
https://jira.nuxeo.com/browse/NXP-13252