Clean up leader state.