sorted thread delay issue