Longpolling now works correctly