Move polling all procs to poll library.