endListen method
Ends listening for incoming messages. When this method is call listen unblocks the thread and execution continues.
correlationId
(optional) transaction id to trace execution through call chain.
Implementation
@override
void endListen(String? correlationId) {
_receiver = null;
}