simplified examples/mspoller/mspoller.go