Add polling to pym