Sleep timing

Hi been having trouble finishing legendary arena and have seen some videos of people beating it by chain sleeping the boss. I tried this many times but I can’t seem to get the timing right on when to use sleep. If anyone can help out that would be great .