port bug fix
fix socket block bug.