Right now, we limit the maximum timeout for ray.wait to be 2**30 us. This is ~1000s, which is too short. We should track down the problem in here: https://github.com/ray-project/ray/pull/42 And make the timeout a 64-bit number.