Improve handling of disconnects in STOMP broker relay

Issue: SPR-11655