In a situation with a huge number of running jobstream instances (some thousands) the jobstream plugin fails with an sql error.
The jobstream plugin should not fail if there are a huge number of running jobstream instances.