Fix issue where router slows down due to unexisting theme or when ATTD server is unavailable