fix DB & ovim.DB critical section among threads
fix DB & ovim.DB critical section among threads

Change-Id: I9b8394ded7f2a83005b62e5490cc38198c3349af
Signed-off-by: tierno <51bab9660ca99329005a6d64fa97d56da061cb58@telefonica.com>

igordcard/RO,igordcard/RO