A re-entrant safe fork of a config library