Add method to connection to detect if it is connected