Revert "Adding waitForPollToRun method"

This reverts commit 2e37ccd475b44e48a48fbd27a5c01f2e218bc499.