make socket noncopyable