NXP-13252: improve oracle connection closed detection (fix test case)
https://jira.nuxeo.com/browse/NXP-13252