[JobQueue] In addition to flushing any transaction, be sure to avoid new ones

* This probably only matters when jobs are not run via CLI scripts.

Change-Id: Ie04c8baac218f5df770388e17096dcb4f2eb9cba
Merge "[JobQueue] In addition to flushing any transaction, be sure to avoid new ones"