return 404 error on ENOTFOUND error