we cannot share sockets among multiple threads.