Fix bug introduced in commit 413b747
Fix bug introduced in commit 413b747

While commit 413b747 fixed the issue of poll(2) returning too
soon, it didn't work when the poll(2) call should've been
blocking. This is now fixed and verified.

Signed-off-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

apyrgio/ganeti,dimara/ganeti,mbakke/ganeti,leshchevds/ganeti,andir/ganeti,yiannist/ganeti,ganeti/ganeti,ganeti/ganeti,leshchevds/ganeti,apyrgio/ganeti,andir/ganeti,apyrgio/snf-ganeti,ganeti/ganeti,leshchevds/ganeti,mbakke/ganeti,andir/ganeti,grnet/snf-ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/snf-ganeti,ganeti-github-testing/ganeti-test-1,bitemyapp/ganeti,onponomarev/ganeti,bitemyapp/ganeti,yiannist/ganeti,dimara/ganeti,mbakke/ganeti,yiannist/ganeti,grnet/snf-ganeti,onponomarev/ganeti