Stop running method if no API key