add polling to build