CapacitiveSensor Library Aggressive Calibration

I am making a project to measure distance through capacitance with the CapacitiveSensor library. However, every twenty seconds I get a spike from the automatic calibration that can last up to one second. How can I prevent this from happening and interfering with results? An image of this spike is attached below.