recorderendpoint: Do not allow to change of state when another change is taking place

Change-Id: Ie081617c6b309725a91fadfd92619dd9124d84dd