add retry count for CheckGuard process
Merge pull request #11 from mihaibuzgau/wip2

add retry count for CheckGuard process