don't create JobStateDatase too much, fixes #52

@twobraids r?