recover on setting availability fail. fixes #8. fixes #9. fixes #10.