oracle plugin: Check the connection status and reconnect if required.