IMG-648 Fix polling for status of merge.