Prevents the server process from crashing, all exceptions are logged as a critical error.