Add CanceledException when initialSync is terminated.