Check to make sure the firewalld client is connected before proceeding

Fixes #6911