fix bug: can't recv byte on new connection.