Fixed an issue where exceptions in the message handlers would cause the
sql transport to infinitely retry the failing message. Closes #1091