been encountering the same issue, you just solved my problem!
can confirm, without adding Sleep() before calling PutInStasis() player wouldn’t be affected. Adding Sleep() solved the issue.
EDIT:
turns out this has been an on going bug for awhile