fixed connection.isOpen + connection.isRetrying