Ensure AIM message sends on main thread