Make poll_restund only tight-loop for 1s, not forever

Fixes https://github.com/Metaswitch/sprout/issues/629.