End match before unloading