Converted polling to use soc.io