Improve the "measure thread" for capacitive loads