Added check for chrome running before using taskkill