Handle error from `yz_solr:cores`

The `remove_non_owned_data` function is run on every `yz_event` tick.
If an error is encountered while getting the list of cores then do no
work and retry on next tick.
Fix `yz_solr:delete` spec