examples/acquire_lock: Make it more clear when session acquisition fails