fix to ensure that instances are terminated on version mismatch error