Prevent TimeoutException for remote.<name>.timeout = 0

According to the plugins' documentation the timeout of zero means wait
indefinitely. However, the Future.get(timeout, unit) method handles zero
timeout as zero. Use Future.get() in that case.

Change-Id: I64d6f9cf7239a51a1f8c75bda0525729d63a28ca
2 files changed