Added mutex for verifying connections to db ala workling
Added mutex for verifying connections to db ala workling

cykod/Webiva,cykod/Webiva,treybean/Webiva-lis,treybean/Webiva-lis,treybean/Webiva-lis,cykod/Webiva,treybean/Webiva-lis,treybean/Webiva-lis,cykod/Webiva,cykod/Webiva