Avoid cyclic reference in Connection.create closure