4.8 Restarting firewalld service results in SSH connection timeout

Restarting the firewalld service leads to an SSH connection timeout from the terminal on which the service was started, while other SSH terminals remain connected and are fine.

(Bug ID 29478124)