Technically we could return `value` at the end sich we return null if it is null.

      if (value == null) {
          env.flop(String.format("%s within %d ms", errorMsg, timeoutMillis));
       }

       return value;