Fixed worker timeout bug