Quench Dynamics in Superconducting Nanojunctions