@Override
    public final void close() throws IOException {
        close(CloseMode.GRACEFUL);
    }
Sets socket timeout.

@param timeout the socket timeout.
httpclient5/src/main/java/org/apache/hc/client5/http/nio/AsyncConnectionEndpoint.java