Handle simultaneous identical imports gracefully.