better way to terminate live dev