long-polling-provider exception fix