set a global failure mode var
add generic poll to project
use generic poller for stream poller
use generic poller for other pollers