add mutex to transaction