Better way to stop the controller

	modified:   controller.py
	modified:   main.py