Improved memory managment for the async calls (using WS_* functions),
using WRK_BgThread, optimization