Pup 3319 Retry to send report if connection to master fails

4 is a bit of a magic number. Perhaps this becomes configurable with a default that is not zero?