Chronic thoracic pain is prevalent after cardiac surgery , and research is needed to minimize the risk of chronic persistent postoperative pain , which is an invalidating , long-term complication of surgery .