add detatched thread in single-client-socket