Guard against empty app in closingtimeout