Made the poller continue even when the result is invalid. Also added javadoc