Prevent uncaught exceptions in ProcessWebSocketRequestAsync