Instead of trying to stop the flow during the initialization phase, configure it to be stopped when Mule starts:
<flow name="..." initialState="stopped">
then have your custom logic start it when the time is good, for example by using MEL:
<expression-component>app.registry.targetFlow.start();</expression-component>