updated stop condition for tx curve
reuse safeClose for actor stop