Pup 3319 Retry to send report if connection to master fails

Shoud we take a look at lib/puppet/network* and fix that from there ?

With puppetserver that PR will become really important because it is very slow to start.