it errors on spawn exit before connect