Allow the consuming codebase to stop polling via the callback