change hashdb API to fail gracefully