poll: fix for late package removals