Fix #216: propagate errors raised by Pool.map/imap