set socket abstraction classes to uncopyable