ethdev: allow drivers to return error on close