Added a bit of code to theoretically be safer with finishing transactions, although it doesn't seem like we were doing anything wrong before. Also, automatically marking failed transactions complete now. Also shouldn't be an issue live, but makes sandbox stuff easier.