solved a bug that caused socks pool re-initialization