temporary fix for max sockets being triggered.