Define polling greenlet vars outside try/finally block.

Fixes T388.