fw4: make `fw4 restart` behavior more robust