only catch expected error in get_host_array() (and not buffer creation)