Fix thread synchro issue
Fix thread synchro issue

Sometimes one thread can still be running during download and workflow continue instead of waiting its end. This fix prevents using Ctr-C during download.
horkko/biomaj,horkko/biomaj-postgres,genouest/biomaj,horkko/biomaj-postgres,genouest/biomaj,horkko/biomaj