Effect of deceleration on jet instability