fixes #226 - We're holding locks on images