removed 2 unecessary unlocks
Revert "removed 2 unecessary unlocks"

This reverts commit ea6895e9341a3ebe390f374010b2602447f6764f.
removed unecessary unlock, added lock around images_async_loading structure