policy-node: add check to not relink more than 5 times if link with peer fails

7 jobs for policy-node-fix in 2 minutes and 7 seconds (queued for 11 seconds)
Status Name Job ID Coverage
  Container
passed container_fedora #15623923

00:00:17

passed container_ubuntu #15623924

00:00:15

 
  Build
passed build_on_fedora_no_docs #15623926

00:01:11

passed build_on_fedora_with_docs #15623925

00:01:17

passed build_on_ubuntu_no_gir #15623928

00:01:04

passed build_on_ubuntu_with_gir #15623927

00:00:56

 
  Analysis
passed shellcheck #15623929

00:00:32