Sometimes the stan stopped sampling, Rstan

Hi everyone,

I have encountered this scenario quite often: when I start sampling use function sampling() in rstan, it sometimes did not sample or get stuck while sampling (a snapshot attached). It happens quite often on both the mac and windows 10-- did anyone see this issue as well like l do? How did you fix this issue? Thanks!!