Make sure web hook commands run on main thread