Bug fix so that when threshold estimation fails for the peripheral task
it can still reset the threshold correctly