s3-torture: run_locktest2(): replace check_error() with check_both_error()