refactor: extract post-poll events to its own function
refactor: extract post-poll events to its own function

lamassu/lamassu-machine,lamassu/lamassu-machine,lamassu/lamassu-machine,lamassu/lamassu-machine