Call poll() again when it fails with an EAGAIN error