bug fix:

1, connection close while buffer too long.
2, example update.