A connection to https://rubygems.org/ was leaked

I got this message in my console when running Gradle:

A connection to https://rubygems.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

I guess this is coming from the Simplified JRuby Gradle Plugin (because of the connection to rubygems.org). I believe it does use OkHttp so perhaps I'm right. It seemed to have happened after I updated one of my gems (and perhaps because I also upgraded Gradle to 9.3.0 and it started showing more errors?). Sorry for not being more specific but perhaps you can check if you properly close all connections after using them?

Assignee Loading
Time tracking Loading