Don't call done handler multiple times on import

Broken by ff0f649a4d8a7f3ebcd4aec0932667bac2a40f8a