fix matches after process ends

fixes 'meteor exits when cordova platforms change'