Make sure you have a whip on you at all times. If they grab you whip it and it will let you go.

More Kaprosuchus Encountering Tips