Make sure jobs fail if perform returns err.

Fixes #17