fix workqueue creation time setting

fixes #4911