Fix model connection state not being set when the connection has already been made before instancing