AC SSR does not switch off - why?
You might find that a AQH3223A works better. The AQH3213A is a "zero-crossing" type SSR, while the AQH3223A is a "random" version. Zero crossing types can have issues with motor loads.

From https://www.panasonic-electric-works.com/pew/eu/downloads/ds_x61_en_ssr_technical_information.pdf


  4) When controlling loads using zero- cross voltage types in which the
  voltage and current phases differ, since the triac sometimes does not
  turn on regardless of the input state, please conduct sufficient tests
  using actual equipment.