Avoiding pacemaker lead entrapment during PFO closure