Smart polling util