Shut down the processor cleanly when a STOMP client misses heartbeats

Abnormal termination causes it to be restarted when it's no longer
necessary, plus produces gen_server termination traces in the SASL
log.
merge bug26246 into stable
merge stable with upstream