freerds-icp: internal cleanup