logilab-database #112904 get_connection function should use a lock [done]

where it imports backend specific modules, as this is not thread safe

prioritynormal
typebug
appeared in<not specified>
done in1.9.0
load0.100
load left0.000
closed by#8435a750f651 use a lock in get_connection around backend specific modules imports. Closes #112904