change a way of closing tcp connection ( will be complete later) , fix bug related with lq_data msg