Improved logging in script conn_health.