get rid of Jstack during polling, and limit iterations (trying to avoid whatever was causing 300 sec timeout)