Added some constants to store state for the connections. Will be used to guide the logic of how to process each of the active connections.