handle quit on send tx error