ISPN-5052 Cleanup of lock acquisition timeout string.
Test that replaying a prepare command doesn't acquire the lock twice