Close unused broker sockets so that they are not being used anymore
Reverted previous workaround