Preventing deadlocks in multithreaded source update (use timeout on
locking).
Authored by: brunoherbelin 2016-04-03
Parent: [r1109]
Child: [r1111]