A better handling of exceptions
Avoid stupid crashes of the client.