check for validity of connection

parent 0c980839
Pipeline #22140 passed with stages
in 4 minutes and 42 seconds