"When pin 3 goes low again, the capacitor discharges through the resistor so there is no voltage across it."
No.
The capacitor discharges via the protection diode on Pin 5.
"Like the charge-up of the capacitor, this discharge takes a certain amount of time;"
No
The capacitor takes almost...