Deregister() vs unsubscribe()

Environment

Language
Python 3.8

Alpaca SDK Version
Latest SDK

Problem

Summary
When using StreamConn() and the on() decorator - should I use deregister on the channel pattern, or unsubscribe()? I’m trying to figure the proper/best-practice way to exit the main loop at the end of the trading day