polling cleanup