merged two sockets into one
clean up