Added tracing for longpolling.