adjusting thread behavior-quits previous and starts new with new settings