To counter this problem I implemented a quick an easy check. If the check catches a replication failure `touch` a file to the nfs mounted tmp directory that is shared by all nodes.
Each node before executing anything (in index.php) checks for a file called 'halt' in tmp. If found exits and bingo no weirdness, corruption, or wondering why something is there one click, gone the next. It even emails you, and with a simple addition can sms.
mysql_query("show slave status;", CONNECTION);
'<project> REPLICATION ERROR!',
"Error show Slave Status: ".
$fp = fopen('tmp/halt', 'w+');
Don't forget to remove the 'halt' file after you have the replication under control.