close failed transactions on start