How to control number of connections while dowloading artifacts from maven repositories


we would like to reduce the number of sessions being opened by a gradle process while downloading maven artifacts from a maven repository. It seems to me that the number of Connections is set to 20 in Class org.gradle.internal.resource.transport.http.HttpClientConfigurer and i did not find a way to change it.
Is there any way to control/reduce the number of connections?