fix #244, conn thread use cond to wait for recv thread error. 2.0.47.