Use timeout
Using sleep imposes to wait the given amount of time even if the result is available sooner. Using the TimeOut, the get is released as soon as the result is available. Thus, we can use a greater value for the timeout to handle the case the execution is exceptionally long, without any impact on faster conditions.
PS: lacking SNAPSHOT version of hypparchus I was unable to test. Can you give it a try before merging, please?
Edited by Guilhem Bonnefille