I've read somewhere that the code below might help, but I have yet to test it in-game. If that doesn't work though I would really appreciate something like this as I've been unable to disable instant knife kills.
if(localPlayer.isPerformingStealthKill()) {
localPlayer.clearTasksImmediately();
}