There is a scipt checking for offline Things through the api. If yes it will restart the openhab service. See here: