Oh, and in this particular case where ``killJob`` evaluates to ``Unit``, ``j.foreach(killJob(_, reason))`` is a little clearer than the ``map``.  Use ``map`` when you actually want to produce ``Some(result)``.