Check return codes in handle-pool and mdbm_bench.