Put the client's recv method in a try bloc in order to prevent client's crashes. And show an error in the logs.