Add `stopPolling` method