Fix a bug in the asio: the socket need to be polled again !

Misc improvment of the code