implemented thread based request worker