When using an SSR that supports zero-crossing detection, it will maintain its state until the AC output waveform crosses zero on its own. At that point it turns on or off safely. One downside to ...