Entanglement Oscillations near a Quantum Critical Point.