added controller.isConnected