Added logic in Poller to check if polling is taking longer than specified polling period.