fixed issue where sc_stop was getting called twice