See the discussion here: Dash server not updating through examples - not able to stop the previous server? - #7 by jwhendy