Stop timer_thread on error
Stop recover callback if profile changes
Cancel recover callback when not necessary