Glad to hear that you had fun with it! :D
Actually, there is no way to tell when the hand will grab you, you need to have fast reactions.
The only thing you can do is to watch and avoid the left and the right side when there is alot of space in the corridor.