JBTM-2098 Updated to acquire the lock on the AtomicAction before acquiring the mutex as a rollback can deadlock on the record during doRelease