Ensure Imports are cleaned up in case of failure