Fix error handling on deliver_many when sending fails in the middle of the process.
Initial version of a spec.