Fix longpolling.