Close compressors on import errors