Clean up a little bit.
Handle incomplete jobs correctly.