for messages with > 1 pending attachment, trigger next upload upon completion

previously, it would quit after one upload and require another manual sendUnsentMessages() call