attempt to fix premature exit when using --fetch-all