Fix long-polling regression