Scripts w/ loops are not terminating

Ensure that the "running" attribute is updated when a script is killed