This is a step in the right direction to define the state of the stream module, but I think that we will have to address in the next release what happens if the application context of the module fails to be created, the container should update the state.