You've already forked prometheus-fail2ban-exporter

Update the code collecting metrics to open a new socket connection each time metrics are collected. This ensures that a new socket connection is used each time and avoids errors caused by fail2ban being restarted.