Adds protection around _xodb_schema for reopens