Resets the state of an IO Channel to clear a serious problem with an operation. Use this function to clean up all the context information and reconnect the IO Channel to the database.
Internally, the driver disconnects from the database, creates a new connection, and maps the connection handle to the IO Channel Number.
This operation cancels all operations running on the IO Channel; thus, it should be done when no operations are running or when losing uncommitted data is acceptable. The driver will not lose committed data.