add a tuning checking to break put of worker loop