Workaround for a null pointer exception for closed polls.