Can't turn off federation

Unchecking federation and then clicking Save Changes is not working. It reverts to federation being checked. How to fix?