properly start / stop proxy