Added helper factory to poll a URL