test for conflict in import directory creation
provide sleep timer class for semaphore sharing
Merge pull request #2629 from mtbc/trac-11096-import-dir-uniqueness

fix #11096: import directory uniqueness exception handling