Fix kcdhelper to work. It is called by the kcd to perform cleanup in its place.