Client connection cleanup

I have a loop to periodically attempt to connect:

while(!connected) {
session = new Session(executor);

client = new Client(session, getUrl(), getRealm(), executor);
try {
} catch (Exception e) {

try {
} catch (InterruptedException e) {


However, I end up with a bunch of nioEventLoopGroup threads.

What is the proper way to attempt re-connects without leaking threads?

We have fixed the issue in autobahn-java master but unfortunately haven’t had the change to do a new release. I will try to do a release later today. Here is the fix

Thanks for the reply, I verified it works by pulling in the changes from that commit.

Do you know when a new Release will be available?