no need to close frontier on tests tearDown
close job writers near job state change to minimize errors caused by retries