Handle interrupts correctly for ASIO synchronous reads and writes. (#1929)
Handle interrupts correctly for ASIO synchronous reads and writes. (#1929)

* handle interrupts correctly.

* linting

* handle interrupts on read_some/write_some.

ray-project/ray,atumanov/ray,atumanov/ray,pcmoritz/ray-1,atumanov/ray,robertnishihara/ray,stephanie-wang/ray,ray-project/ray,richardliaw/ray,robertnishihara/ray,stephanie-wang/ray,ujvl/ray-ng,ray-project/ray,atumanov/ray,stephanie-wang/ray,robertnishihara/ray,ray-project/ray,pcmoritz/ray-1,richardliaw/ray,ray-project/ray,pcmoritz/ray-1,robertnishihara/ray,atumanov/ray,stephanie-wang/ray,stephanie-wang/ray,robertnishihara/ray,richardliaw/ray,atumanov/ray,ujvl/ray-ng,ray-project/ray,ujvl/ray-ng,ujvl/ray-ng,stephanie-wang/ray,pcmoritz/ray-1,pcmoritz/ray-1,richardliaw/ray,pcmoritz/ray-1,ray-project/ray,pcmoritz/ray-1,robertnishihara/ray,robertnishihara/ray,richardliaw/ray,ray-project/ray,stephanie-wang/ray,stephanie-wang/ray,robertnishihara/ray,stephanie-wang/ray,pcmoritz/ray-1,richardliaw/ray,atumanov/ray,richardliaw/ray,robertnishihara/ray,atumanov/ray,richardliaw/ray