Slow non-Hermitian cycling: exact solutions and the Stokes phenomenon