make glfs call per thread based