Refs #18089 Naaya; code cleanup in async import branch

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs/Naaya@20732 a0171fae-0946-0410-966d-b1775066cd26