Support CEF multi threaded message loop to fix crash on exit.