stop process from continually running