Implementing periodic sync (part 1 of 2): periodically query web service.