more specific error handling for leveldb; deletes