The target phone might be running a Battery Optimizer which will arbitrarily kill apps that it deems are running in the background. Most battery apps will come with an Ignore List that will let you exempt SMS Tracker from this feature.