<h:form>
<p:poll
id="poll"
interval="5"
autoStart="true"
onerror="window.location='http://www.google.com'"
partialSubmit="true"
process="@this"
widgetVar="managedPoll"
global="true"
/>
</h:form>
The "PF('managedPoll').stop();" inside error page do not stop the next call, only the following (second onwards). Then, another exception is thrown(ViewExpiredException).