Tidy clients.py following https://github.com/ray-project/ray/pull/48684/files#r1854943374, use ResourceNotFoundError if study is not found.#1200
Merged