Added check to restart ES if up for more than 1 day