(try to) Handle transactions better.