Moved the end_progress() call from match.c to sender.c so that we