move lock to main loop
move lock to main loop

DBezemer/server,kaltura/server,kaltura/server,kaltura/server,DBezemer/server,DBezemer/server,DBezemer/server,DBezemer/server,kaltura/server,DBezemer/server,DBezemer/server,kaltura/server,DBezemer/server,kaltura/server