Fix #105. Invoke result() on main thread