Added debug output to trace double polling bug after deployment.