added test for per-client lock wait timeout #1168