send error msg when connect remote fail;
close a lot of log