start cleanup in daemon and pass in shut down channel