Added support for concurrent workflows on same threa