check_connections initial release
check_connections: fix: Fix checking of thresholds