Fix issue #170. It's possible to have active jobs while we're
synchronizing.