Add Poll event

make packet handling more deterministic