A cooling system for a medical probe assembly , the system comprising: a pump assembly comprising: a control unit having a motor controller , a motor , and a pump head driven by the motor; a fluid reservoir ; a lumen for delivering a cooling fluid to a distal end of the medical probe assembly ; a tubing for conveying the cooling fluid from the fluid reservoir to the lumen, the tubing extending through the pump head; a flow sensor for sensing a flow rate of the cooling fluid; and a radiofrequency (RF) generator in bi-directional communication with the control unit of the pump assembly , the RF generator comprising a generator controller having a set of parameters for a treatment procedure stored thereon, wherein the pump head is disposed between the fluid reservoir and the medical probe assembly to pump the cooling fluid from the fluid reservoir to the lumen through the tubing , wherein the flow sensor is disposed between the pump head and the medical probe assembly to sense the flow rate of the cooling fluid, the flow sensor configured to transmit a flow rate signal to the control unit in order to generate, by the motor controller of the control unit, a processed flow rate signal, wherein the generator controller determines whether to modify at least one of a speed or a direction of the motor based on the set of parameters for the treatment procedure and the processed flow rate signal, and wherein the generator controller is configured to transmit a control signal to the control unit to cause the motor controller to modify one of the speed or the direction of the motor responsive to a determination to modify the speed or the direction of the motor. a pump assembly comprising: a control unit having a motor controller , a motor , and a pump head driven by the motor; a control unit having a motor controller , a motor , and a pump head driven by the motor; a fluid reservoir ; a lumen for delivering a cooling fluid to a distal end of the medical probe assembly ; a tubing for conveying the cooling fluid from the fluid reservoir to the lumen, the tubing extending through the pump head; a flow sensor for sensing a flow rate of the cooling fluid; and a radiofrequency (RF) generator in bi-directional communication with the control unit of the pump assembly , the RF generator comprising a generator controller having a set of parameters for a treatment procedure stored thereon, wherein the pump head is disposed between the fluid reservoir and the medical probe assembly to pump the cooling fluid from the fluid reservoir to the lumen through the tubing , wherein the flow sensor is disposed between the pump head and the medical probe assembly to sense the flow rate of the cooling fluid, the flow sensor configured to transmit a flow rate signal to the control unit in order to generate, by the motor controller of the control unit, a processed flow rate signal, wherein the generator controller determines whether to modify at least one of a speed or a direction of the motor based on the set of parameters for the treatment procedure and the processed flow rate signal, and wherein the generator controller is configured to transmit a control signal to the control unit to cause the motor controller to modify one of the speed or the direction of the motor responsive to a determination to modify the speed or the direction of the motor. <EOS>