reset import hook on shutdown