clean up start, stop, open, close