wrap nets.boot with ensure_resource