add shutdown interface for layer state.