[semidet]stomp_teardown(+Connection)Tear down the socket connection, stop receiving thread and heartbeat
thread (if applicable). The registration of the connection as created by stomp_connection/5
is preserved and the connection may be reconnected using stomp_connect/1.