extra function for further use
kill programs before restart