longpolling reconnection in case of failure