Valgrind correction session:
- a Socket::close(-1) fixed in SocketManager
- a possible leak memory way fixed in SocketManager