control cleanup after prod panic