try to avoid interlocking
bugfix: don't sent image when there is no image