In your code that calls the Java SDK, ensure that the value of ReadTimeoutMillis is greater than the function timeout period.