Logic to poll for highstate and on demand checking