Disable running on main thread.