Modify timing when to set/reset ZRTP tunnel flag