Added back use of mutex for transactions (seems tiny bit slower, putting on to branch)