Optimize signing cleanup