Implement clearing in the pd librato service