Fix termination error when spinning up new instance.