removed restart logic