Extract KethaneController.CleanUp method