refactor a tad... making it easier to detect/close/reconnect to routes in the future