Add StateService & use permits in concurrent clients