The idea could be: - If (and only if) the Telegram tokens/secrets are set start a new thread (called 'telegram') - Periodically check the status of the thread with the name 'bot' - If is not active send a message