PID files are only written by play apps. Go for a more broad stop strategy.