What happens if connection times out but then the connect still succeeds? AFAIK `->resolve()` will throw an exception in that case.