Wrapped global chat crash in try-catch so the entire application won't crash