connections: delete problematic hosts if global var is set