Fix "use of WriteTo with pre-connected connection"