clear code, delete macro __USE_CONNECTS_COPY __USE_WRITE_THREAD,and other test code