Call success/failure callbacks on main thread.