add multiple thread to hold the multiple socket