coreserver: Only change RUN state, if we are in INIT state

Signed-off-by: Michael Buesch <m@bues.ch>