Making sure merging into main thread managed object context happens on main thread