Investigation of thermal runaway in semibatch chemical reactors by an Early Warning Detection Device