4db23041dd
Replace `await anyio.sleep(0.1)` in `run_server` with an `anyio.Event` that the mock client sets after receiving the error response. The server now waits on a precise signal instead of guessing how long the client needs.