The records will be resent in case of failure
Merge pull request #2140 from zmathe/DIRACv6r11

[v6r11]-StatesMonitoring agent resend the records in case of failure