add lock to SDWebImage in order to work with ASIDownloadCache