service: retry online check in case of failure

Online check may failed temporary, add a periodic retry.
Merge remote-tracking branch 'origin/team/system/dev' MR#7