added config cleardown on registry initialisation