NXP-13252: improve oracle connection closed detection