check success AND die