Retrieval of an infected leadless pacemaker