clean_up: checking errno at exit does not make sense