poll cleanup