- Backport memory leak fix from 4.2
- Fix memory leak : remove stream when deleting thread
- Remove debug message
- TcpStream had a bad buffer size
- Close the TCP connection sooner is better :-)