Ensure collection isn't stopped if a collector throws an exception.