👋
I wonder if it's possible to gracefully reconnect once the underlying adapter's connection is detected to be closed to avoid :closed errors on user queries (DBConnection.query / DBConnection.execute)? For example, maybe we could use :inet.monitor/1 from the adapters? Maybe it could be possible to let the adapters handle_info the DOWN messages?
Related Ch issues / PRs: plausible/ch#210, plausible/ch#211